package pattern.template;

public abstract class AbstractClass {

    public void operate(){
        specificMethod();
        abstractMethod();
    }

    public final void specificMethod(){
        System.out.println("执行抽象类中特殊方法");
    }

    public abstract void abstractMethod();
}
